package com.wwlwxg.jdk.rs;

import com.wwlwxg.jdk.rs.bean.User;
import org.apache.cxf.jaxrs.client.WebClient;
import org.junit.Test;

public class RsClient {

    private String url = "http://192.168.56.1/helloworld";

    @Test
    public void testSaveUser() {
        WebClient
                .create(url)
                .post(new User(1, "wo"));
    }
}
